time=$(date -d "yesterday" +%Y-%m-%d)

sqoop import \
--connect jdbc:mysql://ring1:3306/movie_analysis\
--username root \
--password root \
--table movies_2 \
--fields-terminated-by '\t' \
--target-dir /project/movies/$time/ \
-m 1